<% @category_roots = CategoryGroup.find(1).roots.active %>

<% unless @category_roots.blank? %>
  <ul>
    <% @category_roots.each do |category| %>
      <%= render :partial => 'shared/category_menu_item', :locals => {:category => category} %>
    <% end %>
  </ul>
<% end %>